package com.extra.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Classname StorageConfiguration
 * @Description TODO
 * @Date 2021/6/25 13:41
 * @Created by lpc
 */
@Configuration
@ConfigurationProperties(prefix = "storage.local")
@Data
public class StorageConfiguration {
    private String rootDir;
    private int maxSize;
    private boolean allowEmpty;
    private List<String> allowTypes;
}
